package lock_condition;

public abstract class BufferLimitato<T> {
	protected int n;
	protected T[] buffer;
	protected int in = 0, out = 0, count = 0;

	public BufferLimitato(int n) {
		this.n = n;
		buffer = (T[]) new Object[n];
	}

	public abstract T get();

	public abstract void put(T value);
}// BufferLimitato
